/*
 * ===========================================================================================
 * = COPYRIGHT
 *          PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION
 *   This software is supplied under the terms of a license agreement or nondisclosure
 *   agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or
 *   disclosed except in accordance with the terms in that agreement.
 *     Copyright (C) 2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved.
 * ===========================================================================================
 *
 */
package android.src.main.java.com.example.pos_link.utils;

import android.os.Build;

public class PlatformUtils {

    public static boolean isPAXAndroid() {
        return Build.DISPLAY.toLowerCase().startsWith("paydroid") ||
                Build.MANUFACTURER.equalsIgnoreCase("pax") ||
                Build.BRAND.equalsIgnoreCase("pax") ||
                Build.FINGERPRINT.toLowerCase().startsWith("pax") ||
                Build.VERSION.INCREMENTAL.toLowerCase().startsWith("paydroid");
    }
}
